﻿capital = 721
oob = "MCW_1007"
set_research_slots = 3

set_technology = {
	melee_weapons = 1
	melee_weapons1 = 1
	infantry_weapons = 1
	pre_gw_artillery = 1
	gw_artillery = 1
	tech_support = 1
	tech_engineers = 1
	tech_recon = 1
	marines = 1
	harpy_race = 1
	basic_train = 1
	tech_trucks = 1
}
if = {
	limit = { has_dlc = "By Blood Alone" }
	set_technology = {
		aa_lmg = 1
		early_bombs = 1
		aircraft_construction = 1
		engines_1 = 1
		engines_2 = 1
		airship_airframes = 1
		iw_small_airframe = 1
		basic_small_airframe = 1
		air_torpedoe_1 = 1
	}

	create_equipment_variant = {
		name = "Early Medium Airship"
		type = medium_airship_airframe_0
		modules = {
			fixed_main_weapon_slot = medium_bomb_bay
			special_type_slot_7 = normally_aspirated_engine
			fixed_auxiliary_weapon_slot_1 = bomb_locks
			fixed_auxiliary_weapon_slot_2 = light_mg_4x
			engine_type_slot = engine_1_3x
			special_type_slot_1 = empty
		}
		icon = "GFX_medium_airship_equipment_0_medium"
	}
	create_equipment_variant = {
		name = "Early Heavy Airship"
		type = large_airship_airframe_0
		modules = {
			fixed_main_weapon_slot = large_bomb_bay
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_4x
			fixed_auxiliary_weapon_slot_5 = lmg_defense_turret
		}
		icon = "GFX_heavy_airship_equipment_0_medium"
	}
	create_equipment_variant = {
		name = "Early Fighter"
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
	create_equipment_variant = {
		name = "CV Early Fighter" 
		type = cv_small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
	create_equipment_variant = {
		name = "Naval Bomber I" 
		type = small_plane_naval_bomber_airframe_1
		modules = {
			fixed_main_weapon_slot = torpedo_mounting
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_1x
			fixed_auxiliary_weapon_slot_6 = lmg_defense_turret
		}
	}
	create_equipment_variant = {
		name = "CV Naval Bomber I" 
		type = cv_small_plane_naval_bomber_airframe_1
		modules = {
			fixed_main_weapon_slot = torpedo_mounting
			special_type_slot_7 = normally_aspirated_engine
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
	add_equipment_to_stockpile = {
		type = cv_small_plane_airframe_0
		amount = 40
		producer = MCW
		variant_name = "CV Early Fighter"
	}
	add_equipment_to_stockpile = {
		type = cv_small_plane_naval_bomber_airframe_1
		amount = 40
		producer = MCW
		variant_name = "CV Naval Bomber I" 
	}
	set_air_oob = "MCW_1007_air_bba"

	else = {
		set_technology = {
			airships1 = 1
			early_fighter = 1
			cv_early_fighter = 1
			naval_bomber1 = 1
			cv_naval_bomber1 = 1
		}
		
		add_equipment_to_stockpile = {
			type = cv_fighter_equipment_0
			amount = 40
			producer = MCW
		}
		add_equipment_to_stockpile = {
			type = cv_nav_bomber_equipment_1
			amount = 40
			producer = MCW
		}
		set_air_oob = "MCW_1007_air_legacy"
	}
}

set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
	torpedo_gunboats = 1
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
	protected_cruisers = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
	pre_dreadnoughts = 1
		early_ship_hull_heavy = 1
		basic_ship_hull_heavy = 1
		early_ship_hull_carrier = 1
		basic_battery = 1
		basic_light_battery = 1
	#basic_medium_battery = 1
		basic_heavy_battery = 1
		basic_torpedo = 1
		basic_depth_charges = 1
		basic_cruiser_armor_scheme = 1
		basic_heavy_armor_scheme = 1
		mtg_transport = 1
		basic_fire_control_system = 1
}
set_naval_oob = "MCW_1007_naval"
actually_fix_weapon_techs = yes

set_convoys = 79

set_popularities = {
	democratic = 4
	fascism = 18
	communism = 10
	neutrality = 68
}
set_politics = {
	ruling_party = neutrality
	last_election = "1003.3.10"
	election_frequency = 48
	elections_allowed = no
}
add_ideas = {
	lack_of_scientists3
	poverty3
	outdated_industry
	proper_science_base
}
set_country_flag = proper_science_base_unlocked

set_stability = 0.45
set_war_support = 0.5

recruit_character = MCW_julio_penario
recruit_character = MCW_eloa_queruscos
recruit_character = MCW_kiania_friere
recruit_character = MCW_nicolau
recruit_character = MCW_fethee
recruit_character = MCW_zloberto_zarbosa
recruit_character = MCW_augusto_rademaker
recruit_character = MCW_midnight_lancer

set_autonomy = {
	target = HRV
	autonomy_state = autonomy_dominion
}

create_equipment_variant = {
		name = "São Penário Class"
		type = ship_hull_heavy_1
		design_team = mio:ZES_fib_doctrin_manuf_organization
		name_group = GENERIC_ANIMALS
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_heavy_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = heavy_ship_engine_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			fixed_ship_armor_slot = ship_armor_bb_1
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = ship_secondaries_1
			rear_1_custom_slot = ship_heavy_battery_1
		}
}
create_equipment_variant = {
		name = "Pires do Mar Class"
		type = ship_hull_heavy_2
		design_team = mio:ZES_fib_doctrin_manuf_organization
		name_group = GENERIC_ANIMALS
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_heavy_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_1
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = heavy_ship_engine_2
			fixed_ship_secondaries_slot = ship_secondaries_2
			fixed_ship_armor_slot = ship_armor_bb_2
			front_1_custom_slot = ship_heavy_battery_2
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = ship_secondaries_2
			rear_1_custom_slot = ship_heavy_battery_2
		}
}
create_equipment_variant = {
		name = "Oliveira Class"
		type = ship_hull_cruiser_1
		name_group = GENERIC_NEUTRAL_CRUISER
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_2
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = ship_medium_battery_1
			rear_1_custom_slot = ship_medium_battery_1
		}
}
create_equipment_variant = {
		name = "Plissalto Class"
		type = ship_hull_cruiser_2
		name_group = GENERIC_NEUTRAL_CRUISER
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_1
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_armor_slot = ship_armor_cruiser_2
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = ship_medium_battery_2
			rear_1_custom_slot = ship_medium_battery_2
		}
}
create_equipment_variant = {
		name = "Cachoeiro Class"
		type = ship_hull_cruiser_1
		name_group = GENERIC_NEUTRAL_CRUISER
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = ship_light_medium_battery_1
			rear_1_custom_slot = empty
		}
}
create_equipment_variant = {
		name = "Mato Grosso Class"
		type = ship_hull_cruiser_2
		name_group = GENERIC_NEUTRAL_CRUISER
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_1
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_armor_slot = empty
			front_1_custom_slot = ship_light_medium_battery_2
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = ship_light_medium_battery_2
			rear_1_custom_slot = ship_light_medium_battery_2
		}
}
create_equipment_variant = {
		name = "Pombal Class"
		type = ship_hull_light_1
		name_group = GENERIC_WEAPON_NAMING
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_mine_layer_1
			rear_1_custom_slot = ship_depth_charge_1
		}
		obsolete = yes
}
create_equipment_variant = {
		name = "Porto Alto Class"
		type = ship_hull_light_1
		name_group = GENERIC_WEAPON_NAMING
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_torpedo_1
			rear_1_custom_slot = ship_depth_charge_1
		}
}
create_equipment_variant = {
		name = "Gaspar Rondon Class"
		type = ship_hull_light_2
		name_group = GENERIC_WEAPON_NAMING
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_1
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_2
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_light_battery_2
			rear_1_custom_slot = ship_depth_charge_1
		}
}
create_equipment_variant = {
		name = "Golfinho Class"
		type = ship_hull_submarine_2
		name_group = GENERIC_FISH
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_2
			fixed_ship_engine_slot = sub_ship_engine_2
			rear_1_custom_slot = ship_mine_layer_sub
		}
}
create_equipment_variant = {
		name = "El Presidente Class"
		type = ship_hull_carrier_conversion_ca
		name_group = GENERIC_NEUTRAL_CRUISER
		parent_version = 0
		modules = {
			fixed_ship_deck_slot_1 = ship_deck_space
			fixed_ship_deck_slot_2 = ship_deck_space
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_radar_slot = empty
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_secondaries_slot = ship_secondaries_2
	}
}
set_rule = {
	can_generate_female_aces = yes
	can_generate_female_unit_leaders  = yes
	can_generate_female_country_leaders = yes
}